﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="List.aspx.cs" Inherits="ZLCMS.Web.SystemManage.Basics.MemberCard.List" %>

<%=_framePage.GetPagerFormHtml("/SystemManage/Basics/MemberCard/List.aspx")%>

<form id="pageForm" method="post" runat="Server" class="pageForm" 
    onsubmit="return navTabSearch(this);" action="/SystemManage/Basics/MemberCard/List.aspx">
    
<div class="pageHeader">
	<div class="searchBar">
		<ul class="searchContent">
			<li>
			    <span>会员卡号&nbsp;</span>
				<asp:TextBox ID="tb_search_id" runat="server"></asp:TextBox>&nbsp;&nbsp;
			</li>
			<li>
			    <span>用户姓名&nbsp;</span>
				<asp:TextBox ID="tb_search_username" runat="server"></asp:TextBox>&nbsp;&nbsp;
			</li>
		</ul>
	    <div class="subBar">
			<ul>
			<li>
			    <div class="buttonActive"><div class="buttonContent"><button type="submit">&nbsp;查&nbsp;询&nbsp;</button></div></div>
			</li>
			</ul>
	    </div>
	</div>
</div>

<div class="pageContent">   
   	<div class="panelBar">
		<ul class="toolBar">
			<li><a class="add"  href="/SystemManage/Basics/MemberCard/Add.aspx" target="navTab" rel="addmember" title="会员-增加"><span>添加</span></a></li>
            <li><a class="delete" href="/SystemManage/Basics/MemberCard/Delete.aspx?ajax=dels" target="selectedTodo"title="请确定要删除"><span>删除勾选</span></a></li>
		</ul>
	</div>
	<div class="tableList" layoutH="116">
	<table class="list" width="100%" targetType="navTab" asc="asc" desc="desc">
	    <thead>
			<tr>
                <th width="22px"><input type="checkbox" group="ids" class="checkboxCtrl"/></th>
				<th width="25%">会员卡号</th>
				<th width="25%">用户姓名</th>
				<th width="10%">剩余积分</th>
				<th width="10%">剩余储值</th>
				<th width="10%">剩余次数</th>
				<th width="10%">折扣</th>
				<th width="10%">管理</th>
			</tr>
		</thead>
		<tbody>
            <asp:repeater runat="server" id="gridMemberCard">
                <ItemTemplate>
			    <tr target="uid" rel=<%# Eval("Id")%>>
                    <td><input name="ids" value="<%#Eval("Id")%>" type="checkbox"/></td>
				    <td><%# Eval("Id")%></td>
				    <td><%# Eval("Username")%></td>
				    <td><%# Eval("Mpoint")%></td>
				    <td><%# Eval("Mcash")%></td>
				    <td><%# Eval("Mtime")%></td>
				    <td><%# Eval("Mdiscount")%></td>
				    <td> 
				        <a href="/SystemManage/Basics/Log/View.aspx?uid=<%# Eval("Id")%>" target="navTab" title="日志-查看" rel="editoperator">查看</a>&nbsp;&nbsp;
				        <a href="/SystemManage/Basics/Log/Delete.aspx?uid=<%# Eval("Id")%>" target="ajaxTodo" title="请确定要删除" warn="请选择一项">删除</a>
				    </td>
			    </tr>
                </ItemTemplate>
            </asp:repeater>
		</tbody>
	</table>
</div>
	
     <%= _framePage.GetPagerContentHtml()%>
</div>
</form>